#
# Be sure to run `pod lib lint OpenCoreAmrCodec.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'OpenCoreAmrCodec'
  s.version          = '0.1.6.1'
  s.summary          = '基于libopencore-amr的Wave to Amr转码工具'
  s.description      = <<-DESC
    OpenCoreAmrCodec的编解码功能基于libopencore-amr-0.1.6，
    可以将无损wave编码为单声道amr，或者将单声道的amr编码为无损wave,
    音频规格为8000Hz，1 Channel，16bit
                       DESC

  s.homepage         = 'https://gitee.com/ilongge/OpenCoreAmrCodec'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'ilongge' => '1015820857@qq.com' }
  s.source           = { :git => 'https://gitee.com/ilongge/OpenCoreAmrCodec.git', :tag => s.version.to_s }

  s.ios.deployment_target = '11.0'
  s.pod_target_xcconfig = {
      'ARCHS[sdk=iphonesimulator*]' => '$(ARCHS_STANDARD_64_BIT)',
      'EXCLUDED_ARCHS' => '$(inherited)',
      'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
  }
  
  s.user_target_xcconfig = {
      'ARCHS[sdk=iphonesimulator*]' => '$(ARCHS_STANDARD_64_BIT)',
      'EXCLUDED_ARCHS' => '$(inherited)',
      'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
      'GENERATE_INFOPLIST_FILE' => 'NO'
  }
  s.source_files = 'OpenCoreAmrCodec/*','Frameworks/opencore-amr/*.{h,m}'
  s.public_header_files = 'OpenCoreAmrCodec/*.h'
  s.frameworks = 'Foundation'
  s.vendored_libraries='Frameworks/opencore-amr/*.a'
  
end
